"""
@File    ：el_menu.py
@Author  ：ixiaodu
@Date    ：2024/8/15
@Desc    ：
"""
from selenium.webdriver.common.by import By

# 业务管理页面元素
business_management = By.XPATH, "/html//div[@id='app']/div/div[1]//ul[@role='menubar']/div[5]/li[@role='menuitem']/div[@class='el-submenu__title']"

# 业务管理-报修管理页面元素
maintenance_management = By.XPATH, "/html//div[@id='app']/div//ul[@role='menubar']/div[5]/li[@role='menuitem']/ul[@role='menu']/div[1]/li[@role='menuitem']/div[@class='el-submenu__title']"
repair_config = By.CSS_SELECTOR, ".el-menu:nth-child(1) > .menu-wrapper:nth-of-type(5) .nest-menu:nth-of-type(1) .nest-menu:nth-of-type(2) span"
repair_management = By.CSS_SELECTOR, ".el-menu:nth-child(1) > .menu-wrapper:nth-of-type(5) .nest-menu:nth-of-type(1) .nest-menu:nth-of-type(1) .el-menu-item"
